<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link href="framework/reset.css" rel="stylesheet">
    <link href="css/orderList.css" rel="stylesheet">
    <title>饿了么 我的订单</title>
</head>
<body>
    <div class="wrapper">
        <!-- header部分 -->
        <header class="mdc-top-app-bar">
            <span class="mdc-top-app-bar__title">我的订单</span>
        </header>

        <!-- 订单列表部分 -->
        <h3 class="order-list-title">未支付订单信息：</h3>
        <div class="order-list">
            <div class="order-card">
                <div class="order-header">
                    <h4>万家饺子（软件园E18店）</h4>
                    <div class="order-status">
                        <span class="price">¥49</span>
                        <button class="pay-button" onclick="location.href='payment.html'">去支付</button>
                    </div>
                </div>
                <div class="order-details">
                    <div class="order-detail-item">
                        <span>纯肉鲜肉（水饺） x 2</span>
                        <span>¥30</span>
                    </div>
                    <div class="order-detail-item">
                        <span>玉米鲜肉（水饺） x 1</span>
                        <span>¥16</span>
                    </div>
                    <div class="order-detail-item">
                        <span>配送费</span>
                        <span>¥3</span>
                    </div>
                </div>
            </div>
        </div>

        <h3 class="order-list-title">已支付订单信息：</h3>
        <div class="order-list">
            <div class="order-card">
                <div class="order-header">
                    <h4>小锅饭豆腐馆（全运店）</h4>
                    <div class="order-status">
                        <span class="price">¥55</span>
                    </div>
                </div>
                <div class="order-details">
                    <div class="order-detail-item">
                        <span>麻婆豆腐 x 2</span>
                        <span>¥36</span>
                    </div>
                    <div class="order-detail-item">
                        <span>米饭 x 2</span>
                        <span>¥4</span>
                    </div>
                    <div class="order-detail-item">
                        <span>配送费</span>
                        <span>¥5</span>
                    </div>
                </div>
            </div>
        </div>

        <!-- 底部菜单部分 -->
        <ul class="footer">
            <li onclick="location.href='index.html'">
                <i class="material-icons">home</i>
                <p>首页</p>
            </li>
            <li onclick="location.href='discover.html'">
                <i class="material-icons">explore</i>
                <p>发现</p>
            </li>
            <li class="active" onclick="location.href='orderList.html'">
                <i class="material-icons">receipt</i>
                <p>订单</p>
            </li>
            <li onclick="location.href='me.html'">
                <i class="material-icons">person</i>
                <p>我的</p>
            </li>
        </ul>
    </div>
</body>
</html>
